<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>MediPulse首页</title>
    <style>
        body{
            background: #f3f4f7;
            background-image: url("/static/assets/homebk.jpg");
            background-repeat: no-repeat;
            background-size: cover;
        }
        .app {
            text-align: center;
            padding: 20px;
            height: 100%;
        }
        .fir {
            position: absolute;
            top: 23%;
            right:20%;
            width:60%;;
            height: auto;
            /* border:red 5px solid; */
        }
        #animatedText {
            color: #dff1fc;
            width:auto;
            position: relative;
            left: 2%;
            font-family: '华文楷体', serif;
            font-size: 3em;
            white-space: nowrap; /* 保持文字在一行显示 */
            /* border:red 5px solid; */
        }
        p {
            color: #f9fdff;
            font-size: 1.2em;
            font-weight: bolder;
            font-family: "仿宋", "SimHei", sans-serif;
            margin-top:3%;
        }
        .choice {
            background-color: none;
            width: 30%;
            height: auto;
            position: absolute;
            top: 100%;
            left: 35%;
            margin-top:2%;
            font-weight: bold;
            font-size: large;
            font-family: "宋体", "SimHei", sans-serif;
            /* border:red 5px solid; */
        }
        .choice ul {
            list-style-type: none;
            padding: 0;
            /* display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 5px; */
            justify-content: center;
        }
        .choice ul li {
            background-color: #f1f1f1;
            text-align: center;
            margin-top: 5%;
            margin-right: 3%;
            margin-left: 3%;
            padding-top: 0px;
            height: 90%;
            border-radius: 15px;
            font-size: 1.5em;
        }
        .choice ul li a {
            text-decoration: none;
            color: rgb(24, 113, 190);
            display: block;
            padding: 10px;
            text-align: center;
            border-radius: 15px;
            height: 69%;
        }
        .choice ul li a:hover {
            background-color: rgb(75, 147, 219);
            color: white;
            box-shadow: 5px 5px rgb(228, 245, 255);
            border:2px solid  rgb(10, 67, 117);

        }
            .back {
            background-color: none;
            position: absolute; 
            z-index: 9999;
            margin-top:12%;
            width:10%;
            right: 48%;
            top:58%;
            margin-left:5px;
            font-weight: bold;
            font-size: 1em;
            font-family: "宋体", "SimHei", sans-serif;

        }
        .back ul
        {
         list-style-type: none;
         width:100%;
        }
        .back ul li
        {
        background-color: #f1f1f1;
            text-align: center;
            margin-top: 5%;
            margin-right: 3%;
            margin-left: 3%;
            padding-top: 0px;
            height: 90%;
            border-radius: 15px;
        }
        .back ul li a {
            text-decoration: none;
            color: rgb(24, 113, 190);
            display: block;
            padding: 10px;
            text-align: center;
            border-radius: 15px;
            height: 69%;
        }
         .back ul li a:hover {
            background-color: rgb(214, 232, 245);
            border:2px solid  rgb(24, 113, 190);
            color:rgb(0, 48, 91);
        }
        .dog-img-l {
            width: 200px;
            max-width: 90%;   /* 小屏幕上自适应 */
            height: auto;
            display: block;   /* 消除图片底部间隙 */
            margin: 0 auto;   /* 居中显示 */
            /* border:red 5px solid; */
            position:absolute;
            top:10%;
            left:18%;
            z-index: 9999;
        }
        .dog-img-r {
            width: 200px;
            max-width: 90%;   /* 小屏幕上自适应 */
            height: auto;
            display: block;   /* 消除图片底部间隙 */
            margin: 0 auto;   /* 居中显示 */
            /* border:red 5px solid; */
            position:absolute;
            top:8%;
            right:16%;
            z-index: 9999;
        }
    </style>
</head>
<body>
    <div class="app">
        <img src="/static/assets/homedog_l.png" alt="线条小狗左" class="dog-img-l">
        <img src="/static/assets/homedog_r.png" alt="线条小狗右" class="dog-img-r">
        <div class="fir">
            <div id="animatedText">欢迎使用MediPulse！!</div> <!-- 静态显示文字 -->
            <p>by 食堂煎饼不好吃队</p>

            <div class="choice">
                <ul>
                    <li><a href="/">主页</a></li>
                    <li><a href="http://127.0.0.1:5000">模拟对话</a></li>
                    <li><a href="http://127.0.0.1:3002">能力测试</a></li>
                    <li><a href="http://127.0.0.1:5001">历史记录</a></li>


                </ul>
            </div>
            
        </div>
        <div class="back">
                <ul>
                    <li>
                        <a href="http://127.0.0.1:2000">退出登录</a>
                    </li>
                </ul>
            </div>
    </div>
</body>
</html>